package com.hellobike.haxing.modules.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.hellobike.haxing.common.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableLogic;
/**
 * @Description: 下单分成抽佣
 * @Author: haxing-boot
 * @Date:   2020-11-16
 * @Version: V1.0
 */
@Data
@TableName("t_order_commission_config")
public class OrderCommissionConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
        private java.lang.Integer id ;
	/**店铺销售提成比例*/
	@Excel(name = "店铺销售提成比例", width = 15)
        private java.math.BigDecimal shopRate ;
	/**直属上级的分销分成比例*/
	@Excel(name = "直属上级的分销分成比例", width = 15)
        private java.math.BigDecimal leaderRate ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date createTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private java.lang.Integer createBy ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date updateTime ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
          @TableLogic
           private java.lang.Integer deleted ;
}
